package com.swind.fast.modules.app.railway.project.entity;

import com.swind.fast.common.aspect.annotation.Dict;
import com.swind.fast.common.system.base.entity.SwindEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description: 项目
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sca_railway_project_worktask")
public class RailwayProjectWorkTask extends SwindEntity {
    private String projectId;

    @Excel(name = "测段", width = 15)
    private String segment;

    @Excel(name = "工点名称", width = 15)
    private String siteName;

    @Excel(name = "孔号", width = 15)
    private String holeName;

    @Excel(name = "冠号", width = 15)
    private String tailName;

    @Excel(name = "实测里程", width = 15)
    private String mile;

    @Excel(name = "偏移", width = 15)
    private String shift;

    @Excel(name = "高程", width = 15)
    private String hight;

    @Excel(name = "经距(X)", width = 15)
    private String lng;

    @Excel(name = "纬距(Y)", width = 15)
    private String lat;

    @Excel(name = "位置", width = 15)
    private String location;

    @Excel(name = "放孔日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date placeDate;

    @Excel(name = "任务书日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date taskDate;

    @Excel(name = "原位测试方法", width = 15)
    @TableField(exist = false)
    private String testMethod;

    @Dict(dicCode = "railway_project_test_method")
    private Integer testMethodDict;

    @Excel(name = "设计孔深/次数", width = 15)
    private String holePlan;

    @Dict(dicCode = "railway_taskpoint_status")
    private Integer status;
}
